<template>
	<view class="content">

		<view class="fwb">
			<u-parse :content="content" :imageProp='imageProp' @preview="preview" @navigate="navigate"
				className="html_content" />
		</view>

	</view>
</template>

<script>
	import uParse from '@/components/gaoyia-parse/parse.vue'
	export default {
		components: {
			uParse
		},
		data() {
			return {
				content: null,
				imageProp: {
					mode: 'widthFix',
					padding: 0,
					lazyLoad: false,
					window: '100%'
				},
			}
		},
		onLoad(opt) {
			this.content = opt.content
		},
		methods: {
			preview(src, e) {
				// do something
			},
			navigate(href, e) {
				// do something
			}
		}
	}
</script>

<style>
	@import url("/components/gaoyia-parse/parse.css");
</style>